package com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @BelongsProject: lease-module-contract
 * @BelongsPackage: com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract
 * @Author: James
 * @CreateTime: 2023-11-13  17:15
 * @Description: 滞纳金配置
 * @Version: 1.0
 */
@TableName("order_late_fee")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderLateFeeVo extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 滞纳金配置id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //部门编号
    private Long apartmentId;
    //是否收取
    private Boolean isSwitch;
    //收取比例
    private Long propoetion;

    //企业用户   1是，0否
    private Integer enterprise;

    //是否收取违约金 0否, 1固定金额, 2比例金额
    private Integer liquidatedDamages;

    //违约固定金额
    private String defaultAmount;

    //违约比例
    private String defaultRatio;

    //是否允许冲调 0否,1是
    private String brew;

    //冲调费项
    private String brewCharges;
}
